<p id="notice"><%= notice %></p>

<p>
  <b>Title:</b>
  <%= @document.title %>
</p>

<p>
  <b>Description:</b>
  <%= @document.description %>
</p>


<%= link_to 'Edit', edit_document_path(@document) %> 
<%= link_to 'Back', documents_path %> 

<%= link_to 'Download' , download_document_path(@document) if !@document.attachment_file_name.nil? || !@document.attachment_file_name.blank? %>